package com.ganmiao.server.user.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ShopUserLoginDto {
    @NotBlank(message = "账号为空")
    @ApiModelProperty(value = "账号", required = true)
    private String account;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;

    @NotBlank(message = "菜单列表不能为空")
    @ApiModelProperty("菜单列表(0:pc 1:h5)")
    private String menuList;
}
